home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: LaTeX Document
(document/latex).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| LaTeX Document (document/latex)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| LaTeX 2e document text
| default
| |
99%
| file
| LaTeX document, ASCII text
| default
| |
100%
| TrID
| LaTeX 2e document (with rem)
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 25 20 5c 69 66 66 61 6c | 73 65 20 6d 65 74 61 2d |% \iffal|se meta-|
|00000010| 63 6f 6d 6d 65 6e 74 0a | 25 25 0a 25 25 20 70 72 |comment.|%%.%% pr|
|00000020| 65 74 74 79 72 65 66 20 | 76 31 2e 30 0a 25 25 0a |ettyref |v1.0.%%.|
|00000030| 25 25 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |%% Copyr|ight 199|
|00000040| 35 2e 20 20 62 79 20 4b | 65 76 69 6e 20 52 75 6c |5. by K|evin Rul|
|00000050| 61 6e 64 20 6b 65 76 69 | 6e 40 72 6f 64 69 6e 2e |and kevi|n@rodin.|
|00000060| 77 75 73 74 6c 2e 65 64 | 75 0a 25 25 0a 25 20 20 |wustl.ed|u.%%.% |
|00000070| 20 20 5c 62 65 67 69 6e | 7b 6d 61 63 72 6f 63 6f | \begin|{macroco|
|00000080| 64 65 7d 0a 25 3c 2a 64 | 72 69 76 65 72 3e 0a 5c |de}.%<*d|river>.\|
|00000090| 64 6f 63 75 6d 65 6e 74 | 63 6c 61 73 73 7b 6c 74 |document|class{lt|
|000000a0| 78 64 6f 63 7d 0a 5c 75 | 73 65 70 61 63 6b 61 67 |xdoc}.\u|sepackag|
|000000b0| 65 7b 64 6f 63 7d 0a 5c | 43 6f 64 65 6c 69 6e 65 |e{doc}.\|Codeline|
|000000c0| 4e 75 6d 62 65 72 65 64 | 0a 5c 62 65 67 69 6e 7b |Numbered|.\begin{|
|000000d0| 64 6f 63 75 6d 65 6e 74 | 7d 0a 20 20 5c 44 6f 63 |document|}. \Doc|
|000000e0| 49 6e 70 75 74 7b 70 72 | 65 74 74 79 72 65 66 2e |Input{pr|ettyref.|
|000000f0| 64 74 78 7d 0a 5c 65 6e | 64 7b 64 6f 63 75 6d 65 |dtx}.\en|d{docume|
|00000100| 6e 74 7d 0a 25 3c 2f 64 | 72 69 76 65 72 3e 0a 25 |nt}.%</d|river>.%|
|00000110| 20 20 20 20 5c 65 6e 64 | 7b 6d 61 63 72 6f 63 6f | \end|{macroco|
|00000120| 64 65 7d 0a 25 0a 25 20 | 5c 66 69 0a 25 0a 25 20 |de}.%.% |\fi.%.% |
|00000130| 5c 69 66 66 61 6c 73 65 | 0a 25 3c 2a 73 74 79 6c |\iffalse|.%<*styl|
|00000140| 65 3e 0a 25 20 5c 66 69 | 0a 25 0a 25 20 5c 74 69 |e>.% \fi|.%.% \ti|
|00000150| 74 6c 65 7b 49 6d 70 72 | 6f 76 65 64 20 72 65 66 |tle{Impr|oved ref|
|00000160| 65 72 65 6e 63 65 20 66 | 6f 72 6d 61 74 74 69 6e |erence f|ormattin|
|00000170| 67 20 66 6f 72 20 5c 4c | 61 54 65 58 32 65 7d 0a |g for \L|aTeX2e}.|
|00000180| 25 0a 25 20 5c 61 75 74 | 68 6f 72 7b 4b 65 76 69 |%.% \aut|hor{Kevi|
|00000190| 6e 20 53 2e 20 52 75 6c | 61 6e 64 7d 0a 25 0a 25 |n S. Rul|and}.%.%|
|000001a0| 20 5c 6d 61 6b 65 74 69 | 74 6c 65 0a 25 0a 25 20 | \maketi|tle.%.% |
|000001b0| 54 68 69 73 20 70 61 63 | 6b 61 67 65 20 70 72 6f |This pac|kage pro|
|000001c0| 76 69 64 65 73 20 61 64 | 64 69 74 69 6f 6e 61 6c |vides ad|ditional|
|000001d0| 20 66 75 6e 63 74 69 6f | 6e 61 6c 69 74 79 20 74 | functio|nality t|
|000001e0| 6f 20 5c 4c 61 54 65 58 | 32 65 20 6c 61 62 65 6c |o \LaTeX|2e label|
|000001f0| 2d 2d 72 65 66 65 72 65 | 6e 63 65 0a 25 20 6d 65 |--refere|nce.% me|
|00000200| 63 68 61 6e 69 73 6d 2e | 20 20 20 49 74 20 61 6c |chanism.| It al|
|00000210| 6c 6f 77 73 20 74 68 65 | 20 61 75 74 68 6f 72 20 |lows the| author |
|00000220| 74 6f 20 60 60 70 72 65 | 66 6f 72 6d 61 74 27 27 |to ``pre|format''|
|00000230| 20 61 6c 6c 20 74 79 70 | 65 73 20 6f 66 20 6c 61 | all typ|es of la|
|00000240| 62 65 6c 73 2e 0a 25 0a | 25 20 41 20 6c 6f 6e 67 |bels..%.|% A long|
|00000250| 20 73 74 61 6e 64 69 6e | 67 20 70 72 6f 62 6c 65 | standin|g proble|
|00000260| 6d 20 77 69 74 68 20 5c | 4c 61 54 65 58 5c 20 7c |m with \|LaTeX\ ||
|00000270| 5c 72 65 66 7c 20 63 6f | 6d 6d 61 6e 64 20 69 73 |\ref| co|mmand is|
|00000280| 20 74 68 61 74 20 69 74 | 20 6f 6e 6c 79 0a 25 20 | that it| only.% |
|00000290| 70 72 6f 76 69 64 65 73 | 20 61 20 72 61 77 20 6e |provides| a raw n|
|000002a0| 75 6d 62 65 72 2e 20 20 | 54 68 65 20 61 75 74 68 |umber. |The auth|
|000002b0| 6f 72 20 69 73 20 72 65 | 73 70 6f 6e 73 69 62 6c |or is re|sponsibl|
|000002c0| 65 20 66 6f 72 20 70 72 | 6f 70 65 72 6c 79 20 66 |e for pr|operly f|
|000002d0| 6f 72 6d 61 74 74 69 6e | 67 0a 25 20 74 68 65 20 |ormattin|g.% the |
|000002e0| 6e 75 6d 62 65 72 20 63 | 6f 72 72 65 63 74 6c 79 |number c|orrectly|
|000002f0| 2e 20 20 46 6f 72 20 65 | 78 61 6d 70 6c 65 2c 20 |. For e|xample, |
|00000300| 69 6e 20 6f 72 64 65 72 | 20 74 6f 20 63 6f 72 72 |in order| to corr|
|00000310| 65 63 74 6c 79 20 66 6f | 72 6d 61 74 20 61 20 72 |ectly fo|rmat a r|
|00000320| 65 66 65 72 65 6e 63 65 | 0a 25 20 74 6f 20 61 6e |eference|.% to an|
|00000330| 20 65 71 75 61 74 69 6f | 6e 2c 20 74 68 65 20 61 | equatio|n, the a|
|00000340| 75 74 68 6f 72 20 6d 75 | 73 74 20 75 73 65 20 7c |uthor mu|st use ||
|00000350| 5c 74 65 78 74 75 70 7b | 28 5c 72 65 66 7b 65 71 |\textup{|(\ref{eq|
|00000360| 3a 31 7d 29 7d 7c 2e 20 | 20 4f 72 20 73 69 6d 69 |:1})}|. | Or simi|
|00000370| 6c 61 72 6c 79 0a 25 20 | 66 6f 72 20 61 20 66 69 |larly.% |for a fi|
|00000380| 67 75 72 65 2c 20 7c 46 | 69 67 75 72 65 7e 28 5c |gure, |F|igure~(\|
|00000390| 72 65 66 7b 66 69 67 3a | 32 7d 29 7c 2e 20 20 54 |ref{fig:|2})|. T|
|000003a0| 68 69 73 20 77 61 79 20 | 74 68 65 20 60 60 66 6f |his way |the ``fo|
|000003b0| 72 6d 61 74 27 27 20 6f | 66 20 74 68 65 0a 25 20 |rmat'' o|f the.% |
|000003c0| 72 65 66 65 72 65 6e 63 | 65 20 69 73 20 68 61 72 |referenc|e is har|
|000003d0| 64 20 63 6f 64 65 64 20 | 69 6e 74 6f 20 74 68 65 |d coded |into the|
|000003e0| 20 70 61 70 65 72 2e 20 | 20 49 66 20 74 68 65 20 | paper. | If the |
|000003f0| 61 75 74 68 6f 72 20 64 | 65 63 69 64 65 73 20 74 |author d|ecides t|
|00000400| 6f 20 63 68 61 6e 67 65 | 0a 25 20 66 69 67 75 72 |o change|.% figur|
|00000410| 65 20 72 65 66 65 72 65 | 6e 63 65 73 20 74 6f 20 |e refere|nces to |
|00000420| 7c 46 69 67 75 72 65 7e | 5c 72 65 66 7b 66 69 67 ||Figure~|\ref{fig|
|00000430| 3a 32 7d 7c 2c 20 73 68 | 65 20 6d 75 73 74 20 73 |:2}|, sh|e must s|
|00000440| 65 61 72 63 68 20 61 6e | 64 20 72 65 70 6c 61 63 |earch an|d replac|
|00000450| 65 20 61 6c 6c 0a 25 20 | 74 68 65 20 73 74 72 69 |e all.% |the stri|
|00000460| 6e 67 73 20 69 6e 20 74 | 68 65 20 74 65 78 20 73 |ngs in t|he tex s|
|00000470| 6f 75 72 63 65 2e 0a 25 | 0a 25 20 41 4d 53 5c 4c |ource..%|.% AMS\L|
|00000480| 61 54 65 58 5c 20 68 61 | 73 20 70 61 72 74 69 61 |aTeX\ ha|s partia|
|00000490| 6c 6c 79 20 61 64 64 72 | 65 73 73 65 64 20 74 68 |lly addr|essed th|
|000004a0| 69 73 20 70 72 6f 62 6c | 65 6d 20 62 79 20 70 72 |is probl|em by pr|
|000004b0| 6f 76 69 64 69 6e 67 20 | 74 68 65 20 70 61 63 6b |oviding |the pack|
|000004c0| 61 67 65 0a 25 20 7c 75 | 70 72 65 66 7c 20 61 6e |age.% |u|pref| an|
|000004d0| 64 20 63 6f 6d 6d 61 6e | 64 20 7c 5c 65 71 72 65 |d comman|d |\eqre|
|000004e0| 66 7c 20 69 6e 20 7c 61 | 6d 73 6d 61 74 68 7c 2e |f| in |a|msmath|.|
|000004f0| 20 20 54 68 69 73 20 69 | 73 20 61 20 70 61 72 74 | This i|s a part|
|00000500| 69 61 6c 20 73 6f 6c 75 | 74 69 6f 6e 0a 25 20 66 |ial solu|tion.% f|
|00000510| 6f 72 20 65 71 75 61 74 | 69 6f 6e 20 6e 75 6d 62 |or equat|ion numb|
|00000520| 65 72 73 20 61 6e 64 20 | 66 6f 72 63 65 73 20 65 |ers and |forces e|
|00000530| 71 75 61 74 69 6f 6e 20 | 6e 75 6d 62 65 72 73 20 |quation |numbers |
|00000540| 69 6e 20 75 70 72 69 67 | 68 74 20 73 74 79 6c 65 |in uprig|ht style|
|00000550| 2e 0a 25 0a 25 20 54 68 | 69 73 20 70 61 63 6b 61 |..%.% Th|is packa|
|00000560| 67 65 20 70 72 6f 76 69 | 64 65 73 20 61 20 6d 6f |ge provi|des a mo|
|00000570| 72 65 20 63 6f 6d 70 72 | 65 68 65 6e 73 69 76 65 |re compr|ehensive|
|00000580| 20 73 6f 6c 75 74 69 6f | 6e 20 62 79 20 61 6c 6c | solutio|n by all|
|00000590| 6f 77 69 6e 67 20 74 68 | 65 20 61 75 74 68 6f 72 |owing th|e author|
|000005a0| 0a 25 20 74 6f 20 64 65 | 66 69 6e 65 20 76 61 72 |.% to de|fine var|
|000005b0| 69 6f 75 73 20 66 6f 72 | 6d 61 74 73 20 66 6f 72 |ious for|mats for|
|000005c0| 20 74 68 65 20 6c 61 62 | 65 6c 73 2e 20 20 46 6f | the lab|els. Fo|
|000005d0| 72 20 65 78 61 6d 70 6c | 65 2c 20 74 6f 20 6c 61 |r exampl|e, to la|
|000005e0| 62 65 6c 20 61 0a 25 20 | 74 61 62 6c 65 20 74 68 |bel a.% |table th|
|000005f0| 65 20 61 75 74 68 6f 72 | 20 77 6f 75 6c 64 20 75 |e author| would u|
|00000600| 73 65 20 7c 5c 6c 61 62 | 65 6c 7b 74 61 62 3a 31 |se |\lab|el{tab:1|
|00000610| 7d 5b 74 61 62 6c 65 5d | 7c 2e 20 20 54 6f 20 61 |}[table]||. To a|
|00000620| 63 63 65 73 73 20 74 68 | 65 20 66 6f 72 6d 61 74 |ccess th|e format|
|00000630| 74 65 64 0a 25 20 72 65 | 66 65 72 65 6e 63 65 20 |ted.% re|ference |
|00000640| 74 68 65 20 61 75 74 68 | 6f 72 20 75 73 65 73 20 |the auth|or uses |
|00000650| 7c 5c 70 72 65 74 74 79 | 72 65 66 7b 74 61 62 3a ||\pretty|ref{tab:|
|00000660| 31 7d 7c 2e 0a 25 0a 25 | 20 49 66 20 74 68 65 20 |1}|..%.%| If the |
|00000670| 6f 70 74 69 6f 6e 61 6c | 20 61 72 67 75 6d 65 6e |optional| argumen|
|00000680| 74 20 74 6f 20 7c 5c 6c | 61 62 65 6c 7c 20 69 73 |t to |\l|abel| is|
|00000690| 20 6d 69 73 73 69 6e 67 | 2c 20 74 68 65 20 64 65 | missing|, the de|
|000006a0| 66 61 75 6c 74 20 66 6f | 72 6d 61 74 20 69 73 0a |fault fo|rmat is.|
|000006b0| 25 20 61 6e 20 65 71 75 | 61 74 69 6f 6e 2e 20 20 |% an equ|ation. |
|000006c0| 54 68 69 73 20 69 73 20 | 64 6f 6e 65 20 62 65 63 |This is |done bec|
|000006d0| 61 75 73 65 20 7c 61 6d | 73 6d 61 74 68 7c 20 63 |ause |am|smath| c|
|000006e0| 61 6c 6c 73 20 7c 5c 6c | 61 62 65 6c 7c 20 64 69 |alls |\l|abel| di|
|000006f0| 72 65 63 74 6c 79 0a 25 | 20 66 6f 72 20 65 71 75 |rectly.%| for equ|
|00000700| 61 74 69 6f 6e 73 2e 20 | 20 54 68 65 20 6f 70 74 |ations. | The opt|
|00000710| 69 6f 6e 61 6c 20 61 72 | 67 75 6d 65 6e 74 20 61 |ional ar|gument a|
|00000720| 6c 6c 6f 77 73 20 74 68 | 69 73 20 70 61 63 6b 61 |llows th|is packa|
|00000730| 67 65 20 74 6f 20 77 6f | 72 6b 20 69 6e 0a 25 20 |ge to wo|rk in.% |
|00000740| 63 6f 6e 6a 75 6e 63 74 | 69 6f 6e 20 77 69 74 68 |conjunct|ion with|
|00000750| 20 7c 61 6d 73 6d 61 74 | 68 7c 2e 20 20 48 6f 77 | |amsmat|h|. How|
|00000760| 65 76 65 72 2c 20 7c 5c | 75 73 65 70 61 63 6b 61 |ever, |\|usepacka|
|00000770| 67 65 7b 70 72 65 74 74 | 79 72 65 66 7d 7c 20 6d |ge{prett|yref}| m|
|00000780| 75 73 74 20 70 72 65 63 | 65 64 65 0a 25 20 7c 5c |ust prec|ede.% |\|
|00000790| 75 73 65 70 61 63 6b 61 | 67 65 7b 61 6d 73 6d 61 |usepacka|ge{amsma|
|000007a0| 74 68 7d 7c 20 62 65 63 | 61 75 73 65 20 7c 61 6d |th}| bec|ause |am|
|000007b0| 73 6d 61 74 68 7c 20 73 | 74 6f 72 65 73 20 61 77 |smath| s|tores aw|
|000007c0| 61 79 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |ay the p|revious |
|000007d0| 64 65 66 69 6e 69 74 69 | 6f 6e 0a 25 20 6f 66 20 |definiti|on.% of |
|000007e0| 7c 5c 6c 61 62 65 6c 7c | 20 28 74 68 69 73 20 6f ||\label|| (this o|
|000007f0| 6e 65 29 20 61 6e 64 20 | 72 65 64 65 66 69 6e 65 |ne) and |redefine|
|00000800| 73 20 69 74 2e 0a 25 0a | 25 20 54 68 69 73 20 70 |s it..%.|% This p|
|00000810| 61 63 6b 61 67 65 20 66 | 75 6e 63 74 69 6f 6e 73 |ackage f|unctions|
|00000820| 20 62 79 20 63 68 61 6e | 67 69 6e 67 20 74 68 65 | by chan|ging the|
|00000830| 20 77 61 79 20 5c 4c 61 | 54 65 58 5c 20 60 60 73 | way \La|TeX\ ``s|
|00000840| 74 6f 72 65 73 27 27 20 | 6c 61 62 65 6c 73 20 69 |tores'' |labels i|
|00000850| 6e 0a 25 20 74 68 65 20 | 7c 2e 61 75 78 7c 20 66 |n.% the ||.aux| f|
|00000860| 69 6c 65 2e 20 20 57 68 | 65 6e 20 5c 4c 61 54 65 |ile. Wh|en \LaTe|
|00000870| 58 5c 20 70 72 6f 63 65 | 73 73 65 73 20 61 20 7c |X\ proce|sses a ||
|00000880| 5c 6c 61 62 65 6c 7c 20 | 63 6f 6d 6d 61 6e 64 20 |\label| |command |
|00000890| 69 74 2c 20 61 66 74 65 | 72 0a 25 20 63 68 65 63 |it, afte|r.% chec|
|000008a0| 6b 69 6e 67 20 69 66 20 | 69 74 20 77 61 73 20 70 |king if |it was p|
|000008b0| 72 65 76 69 6f 75 73 6c | 79 20 64 65 66 69 6e 65 |reviousl|y define|
|000008c0| 64 2c 20 77 72 69 74 65 | 73 20 61 20 6c 69 6e 65 |d, write|s a line|
|000008d0| 20 74 6f 20 74 68 65 20 | 7c 2e 61 75 78 7c 20 66 | to the ||.aux| f|
|000008e0| 69 6c 65 0a 25 20 73 75 | 63 68 20 61 73 3a 0a 25 |ile.% su|ch as:.%|
|000008f0| 20 5c 62 65 67 69 6e 7b | 76 65 72 62 61 74 69 6d | \begin{|verbatim|
|00000900| 7d 0a 25 20 20 5c 6e 65 | 77 6c 61 62 65 6c 7b 3c |}.% \ne|wlabel{<|
|00000910| 6c 61 62 65 6c 3e 7d 7b | 7b 3c 63 6f 75 6e 74 3e |label>}{|{<count>|
|00000920| 7d 7b 3c 70 61 67 65 6e | 6f 3e 7d 7d 0a 25 20 5c |}{<pagen|o>}}.% \|
|00000930| 65 6e 64 7b 76 65 72 62 | 61 74 69 6d 7d 0a 25 20 |end{verb|atim}.% |
|00000940| 57 68 65 72 65 20 7c 3c | 63 6f 75 6e 74 3e 7c 20 |Where |<|count>| |
|00000950| 69 73 0a 25 20 74 68 65 | 20 76 61 6c 75 65 20 6f |is.% the| value o|
|00000960| 66 20 74 68 65 20 70 65 | 72 74 69 6e 65 6e 74 20 |f the pe|rtinent |
|00000970| 63 6f 75 6e 74 65 72 2c | 20 61 6e 64 20 7c 3c 70 |counter,| and |<p|
|00000980| 61 67 65 6e 6f 3e 7c 20 | 69 73 20 74 68 65 20 70 |ageno>| |is the p|
|00000990| 61 67 65 20 6e 75 6d 62 | 65 72 2e 0a 25 20 54 68 |age numb|er..% Th|
|000009a0| 65 73 65 20 74 77 6f 20 | 70 69 65 63 65 73 20 6f |ese two |pieces o|
|000009b0| 66 20 64 61 74 61 20 61 | 72 65 20 72 65 74 75 72 |f data a|re retur|
|000009c0| 6e 65 64 20 62 79 20 74 | 68 65 20 63 6f 6d 6d 61 |ned by t|he comma|
|000009d0| 6e 64 73 20 7c 5c 72 65 | 66 7b 3c 6c 61 62 65 6c |nds |\re|f{<label|
|000009e0| 3e 7d 7c 0a 25 20 61 6e | 64 20 7c 5c 70 61 67 65 |>}|.% an|d |\page|
|000009f0| 72 65 66 7b 3c 6c 61 62 | 65 6c 3e 7d 7c 2c 20 72 |ref{<lab|el>}|, r|
|00000a00| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 0a 25 0a 25 |espectiv|ely..%.%|
|00000a10| 20 57 68 65 6e 20 75 73 | 69 6e 67 20 74 68 69 73 | When us|ing this|
|00000a20| 20 70 61 63 6b 61 67 65 | 2c 20 74 68 65 20 7c 5c | package|, the |\|
|00000a30| 6c 61 62 65 6c 7c 20 63 | 6f 6d 6d 61 6e 64 20 77 |label| c|ommand w|
|00000a40| 72 69 74 65 73 20 61 20 | 6c 69 6e 65 20 73 75 63 |rites a |line suc|
|00000a50| 68 20 61 73 0a 25 20 5c | 62 65 67 69 6e 7b 76 65 |h as.% \|begin{ve|
|00000a60| 72 62 61 74 69 6d 7d 0a | 25 20 20 5c 6e 65 77 6c |rbatim}.|% \newl|
|00000a70| 61 62 65 6c 7b 3c 6c 61 | 62 65 6c 3e 7d 7b 7b 3c |abel{<la|bel>}{{<|
|00000a80| 63 6f 75 6e 74 3e 7d 7b | 3c 70 61 67 65 6e 6f 3e |count>}{|<pageno>|
|00000a90| 7d 7b 3c 66 6f 72 6d 61 | 74 74 65 64 20 6c 61 62 |}{<forma|tted lab|
|00000aa0| 65 6c 3e 7d 7d 0a 25 20 | 5c 65 6e 64 7b 76 65 72 |el>}}.% |\end{ver|
|00000ab0| 62 61 74 69 6d 7d 0a 25 | 20 74 6f 20 74 68 65 20 |batim}.%| to the |
|00000ac0| 7c 2e 61 75 78 7c 20 66 | 69 6c 65 2e 20 20 54 68 ||.aux| f|ile. Th|
|00000ad0| 65 20 7c 3c 66 6f 72 6d | 61 74 74 65 64 20 6c 61 |e |<form|atted la|
|00000ae0| 62 65 6c 3e 7c 20 70 6f | 72 74 69 6f 6e 20 69 73 |bel>| po|rtion is|
|00000af0| 20 63 72 65 61 74 65 64 | 20 62 79 0a 25 20 66 6f | created| by.% fo|
|00000b00| 72 6d 61 74 74 69 6e 67 | 20 7c 3c 63 6f 75 6e 74 |rmatting| |<count|
|00000b10| 3e 7c 20 61 6e 64 20 7c | 3c 70 61 67 65 6e 6f 3e |>| and ||<pageno>|
|00000b20| 7c 20 61 63 63 6f 72 64 | 69 6e 67 20 74 6f 20 74 || accord|ing to t|
|00000b30| 68 65 20 70 72 6f 70 65 | 72 20 72 65 66 65 72 65 |he prope|r refere|
|00000b40| 6e 63 65 0a 25 20 66 6f | 72 6d 61 74 2e 20 20 7c |nce.% fo|rmat. ||
|00000b50| 5c 72 65 66 7c 20 61 6e | 64 20 7c 5c 70 61 67 65 |\ref| an|d |\page|
|00000b60| 72 65 66 7c 20 77 6f 72 | 6b 20 61 73 20 75 73 75 |ref| wor|k as usu|
|00000b70| 61 6c 20 61 6e 64 20 7c | 5c 70 72 65 74 74 79 72 |al and ||\prettyr|
|00000b80| 65 66 7c 20 69 73 0a 25 | 20 61 64 64 65 64 20 74 |ef| is.%| added t|
|00000b90| 6f 20 72 65 74 75 72 6e | 20 7c 3c 66 6f 72 6d 61 |o return| |<forma|
|00000ba0| 74 74 65 64 20 6c 61 62 | 65 6c 3e 7c 2e 0a 25 0a |tted lab|el>|..%.|
|00000bb0| 25 20 54 68 65 72 65 20 | 69 73 20 6f 6e 65 20 70 |% There |is one p|
|00000bc0| 72 6f 62 6c 65 6d 20 77 | 69 74 68 20 74 68 69 73 |roblem w|ith this|
|00000bd0| 20 70 61 63 6b 61 67 65 | 2e 20 20 54 68 65 20 6c | package|. The l|
|00000be0| 61 62 65 6c 20 66 6f 72 | 6d 61 74 74 69 6e 67 20 |abel for|matting |
|00000bf0| 72 6f 75 74 69 6e 65 73 | 0a 25 20 64 6f 20 6e 6f |routines|.% do no|
|00000c00| 74 20 63 68 65 63 6b 20 | 69 66 20 74 68 65 20 61 |t check |if the a|
|00000c10| 70 70 72 6f 70 72 69 61 | 74 65 20 66 6f 72 6d 61 |ppropria|te forma|
|00000c20| 74 20 69 73 20 64 65 66 | 69 6e 65 64 2e 20 20 49 |t is def|ined. I|
|00000c30| 66 20 7c 5c 6c 61 62 65 | 6c 7c 20 69 73 0a 25 20 |f |\labe|l| is.% |
|00000c40| 63 61 6c 6c 65 64 20 77 | 69 74 68 20 61 6e 20 75 |called w|ith an u|
|00000c50| 6e 64 65 66 69 6e 65 64 | 20 66 6f 72 6d 61 74 2c |ndefined| format,|
|00000c60| 20 74 68 65 6e 20 6d 79 | 73 74 65 72 69 6f 75 73 | then my|sterious|
|00000c70| 20 65 72 72 6f 72 20 6d | 65 73 73 61 67 65 73 20 | error m|essages |
|00000c80| 77 69 6c 6c 0a 25 20 72 | 65 73 75 6c 74 2e 0a 25 |will.% r|esult..%|
|00000c90| 20 0a 25 20 20 20 20 5c | 62 65 67 69 6e 7b 6d 61 | .% \|begin{ma|
|00000ca0| 63 72 6f 63 6f 64 65 7d | 0a 5c 50 72 6f 76 69 64 |crocode}|.\Provid|
|00000cb0| 65 73 50 61 63 6b 61 67 | 65 7b 70 72 65 74 74 79 |esPackag|e{pretty|
|00000cc0| 72 65 66 7d 0a 25 20 20 | 20 20 5c 65 6e 64 7b 6d |ref}.% | \end{m|
|00000cd0| 61 63 72 6f 63 6f 64 65 | 7d 0a 25 0a 25 20 44 65 |acrocode|}.%.% De|
|00000ce0| 63 6c 61 72 65 20 73 6f | 6d 65 20 61 75 78 69 6c |clare so|me auxil|
|00000cf0| 69 61 72 79 20 66 75 6e | 63 74 69 6f 6e 73 20 74 |iary fun|ctions t|
|00000d00| 6f 20 61 63 63 65 73 73 | 20 74 68 65 20 72 65 66 |o access| the ref|
|00000d10| 65 72 65 6e 63 65 20 64 | 61 74 61 20 73 74 72 75 |erence d|ata stru|
|00000d20| 63 74 75 72 65 2e 0a 25 | 0a 25 20 20 20 20 5c 62 |cture..%|.% \b|
|00000d30| 65 67 69 6e 7b 6d 61 63 | 72 6f 63 6f 64 65 7d 0a |egin{mac|rocode}.|
|00000d40| 5c 6c 6f 6e 67 5c 64 65 | 66 5c 40 66 69 72 73 74 |\long\de|f\@first|
|00000d50| 6f 66 74 68 72 65 65 23 | 31 23 32 23 33 7b 23 31 |ofthree#|1#2#3{#1|
|00000d60| 7d 0a 5c 6c 6f 6e 67 5c | 64 65 66 5c 40 73 65 63 |}.\long\|def\@sec|
|00000d70| 6f 6e 64 6f 66 74 68 72 | 65 65 23 31 23 32 23 33 |ondofthr|ee#1#2#3|
|00000d80| 7b 23 32 7d 0a 5c 6c 6f | 6e 67 5c 64 65 66 5c 40 |{#2}.\lo|ng\def\@|
|00000d90| 74 68 69 72 64 6f 66 74 | 68 72 65 65 23 31 23 32 |thirdoft|hree#1#2|
|00000da0| 23 33 7b 23 33 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |#3{#3}.%| \end|
|00000db0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00000dc0| 54 68 65 20 64 65 66 61 | 75 6c 74 20 66 6f 72 6d |The defa|ult form|
|00000dd0| 61 74 73 20 66 6f 72 20 | 74 61 62 6c 65 2c 20 65 |ats for |table, e|
|00000de0| 71 2c 20 6c 65 6d 6d 61 | 2c 20 74 68 6d 2c 20 73 |q, lemma|, thm, s|
|00000df0| 65 63 74 69 6f 6e 2c 20 | 61 6e 64 20 66 69 67 75 |ection, |and figu|
|00000e00| 72 65 2e 0a 25 20 0a 25 | 20 45 61 63 68 20 7c 5c |re..% .%| Each |\|
|00000e10| 70 72 40 3c 66 6f 72 6d | 61 74 3e 7c 20 69 73 20 |pr@<form|at>| is |
|00000e20| 67 69 76 65 6e 20 74 77 | 6f 20 61 72 67 75 6d 65 |given tw|o argume|
|00000e30| 6e 74 73 2c 20 74 68 65 | 20 63 6f 75 6e 74 20 61 |nts, the| count a|
|00000e40| 6e 64 20 70 61 67 65 20 | 6e 75 6d 62 65 72 2e 0a |nd page |number..|
|00000e50| 25 20 7c 5c 70 72 40 3c | 66 6f 72 6d 61 74 3e 7c |% |\pr@<|format>||
|00000e60| 20 69 73 20 63 61 6c 6c | 65 64 20 62 79 20 7c 5c | is call|ed by |\|
|00000e70| 6c 61 62 65 6c 7b 3c 6c | 61 62 65 6c 3e 7d 5b 3c |label{<l|abel>}[<|
|00000e80| 66 6f 72 6d 61 74 3e 5d | 7c 2e 0a 25 0a 25 20 41 |format>]||..%.% A|
|00000e90| 20 75 73 65 72 20 61 63 | 63 65 73 73 69 62 6c 65 | user ac|cessible|
|00000ea0| 20 66 75 6e 63 74 69 6f | 6e 20 73 68 6f 75 6c 64 | functio|n should|
|00000eb0| 20 62 65 20 64 65 66 69 | 6e 65 64 0a 25 20 74 6f | be defi|ned.% to|
|00000ec0| 20 63 68 61 6e 67 65 2f | 61 64 64 20 66 6f 72 6d | change/|add form|
|00000ed0| 61 74 73 20 74 6f 20 74 | 68 65 73 65 2e 0a 25 0a |ats to t|hese..%.|
|00000ee0| 25 20 20 20 20 5c 62 65 | 67 69 6e 7b 6d 61 63 72 |% \be|gin{macr|
|00000ef0| 6f 63 6f 64 65 7d 0a 5c | 64 65 66 5c 70 72 40 74 |ocode}.\|def\pr@t|
|00000f00| 61 62 6c 65 23 31 23 32 | 7b 54 61 62 6c 65 20 23 |able#1#2|{Table #|
|00000f10| 31 7d 0a 5c 64 65 66 5c | 70 72 40 65 71 23 31 23 |1}.\def\|pr@eq#1#|
|00000f20| 32 7b 5c 74 65 78 74 75 | 70 7b 28 23 31 29 7d 7d |2{\textu|p{(#1)}}|
|00000f30| 0a 5c 64 65 66 5c 70 72 | 40 6c 65 6d 6d 61 23 31 |.\def\pr|@lemma#1|
|00000f40| 23 32 7b 4c 65 6d 6d 61 | 20 23 31 7d 0a 5c 64 65 |#2{Lemma| #1}.\de|
|00000f50| 66 5c 70 72 40 74 68 6d | 23 31 23 32 7b 54 68 65 |f\pr@thm|#1#2{The|
|00000f60| 6f 72 65 6d 20 23 31 7d | 0a 5c 64 65 66 5c 70 72 |orem #1}|.\def\pr|
|00000f70| 40 73 65 63 74 69 6f 6e | 23 31 23 32 7b 53 65 63 |@section|#1#2{Sec|
|00000f80| 74 69 6f 6e 20 23 31 7d | 0a 5c 64 65 66 5c 70 72 |tion #1}|.\def\pr|
|00000f90| 40 66 69 67 75 72 65 23 | 31 23 32 7b 46 69 67 75 |@figure#|1#2{Figu|
|00000fa0| 72 65 20 23 31 7d 0a 25 | 20 20 20 20 5c 65 6e 64 |re #1}.%| \end|
|00000fb0| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 25 0a 25 20 |{macroco|de}.%.% |
|00000fc0| 54 68 69 73 20 69 73 20 | 5c 4c 61 54 65 58 32 65 |This is |\LaTeX2e|
|00000fd0| 20 7c 5c 40 73 65 74 72 | 65 66 7c 2e 20 20 49 74 | |\@setr|ef|. It|
|00000fe0| 20 69 73 20 69 6e 63 6c | 75 64 65 64 20 68 65 72 | is incl|uded her|
|00000ff0| 65 20 74 6f 20 6d 61 6b | 65 20 73 75 72 65 20 6e |e to mak|e sure n|
|00001000| 6f 20 70 72 65 76 69 6f | 75 73 6c 79 0a 25 20 69 |o previo|usly.% i|
|00001010| 6e 63 6c 75 64 65 64 20 | 73 74 79 6c 65 73 20 68 |ncluded |styles h|
|00001020| 61 76 65 20 63 68 61 6e | 67 65 64 20 69 74 2e 20 |ave chan|ged it. |
|00001030| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 41 4d | For exa|mple, AM|
|00001040| 53 5c 4c 61 54 65 58 27 | 73 20 7c 75 70 72 65 66 |S\LaTeX'|s |upref|
|00001050| 7c 20 72 65 64 65 66 69 | 6e 65 73 0a 25 20 69 74 || redefi|nes.% it|
|00001060| 2c 20 62 75 74 20 74 68 | 69 73 20 70 61 63 6b 61 |, but th|is packa|
|00001070| 67 65 20 69 73 20 6d 75 | 63 68 20 62 65 74 74 65 |ge is mu|ch bette|
|00001080| 72 2e 0a 25 0a 25 20 20 | 20 20 5c 62 65 67 69 6e |r..%.% | \begin|
|00001090| 7b 6d 61 63 72 6f 63 6f | 64 65 7d 0a 5c 64 65 66 |{macroco|de}.\def|
|000010a0| 5c 40 73 65 74 72 65 66 | 23 31 23 32 23 33 7b 25 |\@setref|#1#2#3{%|
|000010b0| 0a 20 20 5c 69 66 78 23 | 31 5c 72 65 6c 61 78 0a |. \ifx#|1\relax.|
|000010c0| 20 20 20 5c 70 72 6f 74 | 65 63 74 5c 47 40 72 65 | \prot|ect\G@re|
|000010d0| 66 75 6e 64 65 66 69 6e | 65 64 74 72 75 65 0a 20 |fundefin|edtrue. |
|000010e0| 20 20 5c 6e 66 73 73 40 | 74 65 78 74 7b 5c 72 65 | \nfss@|text{\re|
|000010f0| 73 65 74 40 66 6f 6e 74 | 5c 62 66 73 65 72 69 65 |set@font|\bfserie|
|00001100| 73 20 3f 3f 7d 25 0a 20 | 20 20 5c 40 6c 61 74 65 |s ??}%. | \@late|
|00001110| 78 40 77 61 72 6e 69 6e | 67 7b 52 65 66 65 72 65 |x@warnin|g{Refere|
|00001120| 6e 63 65 20 60 23 33 27 | 20 6f 6e 20 70 61 67 65 |nce `#3'| on page|
|00001130| 20 5c 74 68 65 70 61 67 | 65 20 5c 73 70 61 63 65 | \thepag|e \space|
|00001140| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 75 6e |. | un|
|00001150| 64 65 66 69 6e 65 64 7d | 25 0a 20 20 5c 65 6c 73 |defined}|%. \els|
|00001160| 65 0a 20 20 20 5c 65 78 | 70 61 6e 64 61 66 74 65 |e. \ex|pandafte|
|00001170| 72 23 32 23 31 5c 6e 75 | 6c 6c 0a 20 20 5c 66 69 |r#2#1\nu|ll. \fi|
|00001180| 7d 0a 25 20 20 20 20 5c | 65 6e 64 7b 6d 61 63 72 |}.% \|end{macr|
|00001190| 6f 63 6f 64 65 7d 0a 25 | 0a 25 20 5c 44 65 73 63 |ocode}.%|.% \Desc|
|000011a0| 72 69 62 65 4d 61 63 72 | 6f 7b 5c 72 65 66 7d 0a |ribeMacr|o{\ref}.|
|000011b0| 25 20 5c 44 65 73 63 72 | 69 62 65 4d 61 63 72 6f |% \Descr|ibeMacro|
|000011c0| 7b 5c 70 61 67 65 72 65 | 66 7d 0a 25 20 5c 44 65 |{\pagere|f}.% \De|
|000011d0| 73 63 72 69 62 65 4d 61 | 63 72 6f 7b 5c 70 72 65 |scribeMa|cro{\pre|
|000011e0| 74 74 79 72 65 66 7d 0a | 25 20 54 68 65 73 65 20 |ttyref}.|% These |
|000011f0| 61 72 65 20 74 68 65 20 | 61 63 63 65 73 73 20 72 |are the |access r|
|00001200| 6f 75 74 69 6e 65 73 20 | 74 6f 20 74 68 65 20 76 |outines |to the v|
|00001210| 61 72 69 6f 75 73 20 70 | 6f 72 74 69 6f 6e 73 20 |arious p|ortions |
|00001220| 6f 66 20 74 68 65 20 6c | 61 62 65 6c 0a 25 20 73 |of the l|abel.% s|
|00001230| 74 72 75 63 74 75 72 65 | 0a 25 0a 25 20 20 20 20 |tructure|.%.% |
|00001240| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|00001250| 7d 0a 5c 64 65 66 5c 72 | 65 66 23 31 7b 25 0a 20 |}.\def\r|ef#1{%. |
|00001260| 20 5c 65 78 70 61 6e 64 | 61 66 74 65 72 5c 40 73 | \expand|after\@s|
|00001270| 65 74 72 65 66 5c 63 73 | 6e 61 6d 65 20 72 40 23 |etref\cs|name r@#|
|00001280| 31 5c 65 6e 64 63 73 6e | 61 6d 65 5c 40 66 69 72 |1\endcsn|ame\@fir|
|00001290| 73 74 6f 66 74 68 72 65 | 65 7b 23 31 7d 7d 0a 5c |stofthre|e{#1}}.\|
|000012a0| 64 65 66 5c 70 61 67 65 | 72 65 66 23 31 7b 25 0a |def\page|ref#1{%.|
|000012b0| 20 20 5c 65 78 70 61 6e | 64 61 66 74 65 72 5c 40 | \expan|dafter\@|
|000012c0| 73 65 74 72 65 66 5c 63 | 73 6e 61 6d 65 20 72 40 |setref\c|sname r@|
|000012d0| 23 31 5c 65 6e 64 63 73 | 6e 61 6d 65 5c 40 73 65 |#1\endcs|name\@se|
|000012e0| 63 6f 6e 64 6f 66 74 68 | 72 65 65 7b 23 31 7d 7d |condofth|ree{#1}}|
|000012f0| 0a 5c 64 65 66 5c 70 72 | 65 74 74 79 72 65 66 23 |.\def\pr|ettyref#|
|00001300| 31 7b 25 0a 20 20 5c 65 | 78 70 61 6e 64 61 66 74 |1{%. \e|xpandaft|
|00001310| 65 72 5c 40 73 65 74 72 | 65 66 5c 63 73 6e 61 6d |er\@setr|ef\csnam|
|00001320| 65 20 72 40 23 31 5c 65 | 6e 64 63 73 6e 61 6d 65 |e r@#1\e|ndcsname|
|00001330| 5c 40 74 68 69 72 64 6f | 66 74 68 72 65 65 7b 23 |\@thirdo|fthree{#|
|00001340| 31 7d 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |1}}.% | \end{ma|
|00001350| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 54 68 65 |crocode}|.%.% The|
|00001360| 73 65 20 61 63 74 75 61 | 6c 6c 79 20 63 68 61 6e |se actua|lly chan|
|00001370| 67 65 73 20 74 68 65 20 | 77 61 79 20 74 68 65 20 |ges the |way the |
|00001380| 7c 5c 6e 65 77 6c 61 62 | 65 6c 7c 20 63 6f 6d 6d ||\newlab|el| comm|
|00001390| 61 6e 64 20 69 73 20 77 | 72 69 74 74 65 6e 20 74 |and is w|ritten t|
|000013a0| 6f 20 74 68 65 20 0a 25 | 20 7c 2e 61 75 78 7c 20 |o the .%| |.aux| |
|000013b0| 66 69 6c 65 2e 20 20 7c | 5c 6c 61 62 65 6c 7c 20 |file. ||\label| |
|000013c0| 69 73 20 72 65 64 65 66 | 69 6e 65 64 20 74 6f 20 |is redef|ined to |
|000013d0| 74 61 6b 65 20 61 20 74 | 72 61 69 6c 69 6e 67 20 |take a t|railing |
|000013e0| 6f 70 74 69 6f 6e 61 6c | 20 61 72 67 75 6d 65 6e |optional| argumen|
|000013f0| 74 0a 25 20 77 68 69 63 | 68 20 64 65 66 69 6e 65 |t.% whic|h define|
|00001400| 73 20 74 68 65 20 66 6f | 72 6d 61 74 20 66 6f 72 |s the fo|rmat for|
|00001410| 20 74 68 69 73 20 70 72 | 65 74 74 79 20 72 65 66 | this pr|etty ref|
|00001420| 65 72 65 6e 63 65 2e 0a | 25 0a 25 20 5c 44 65 73 |erence..|%.% \Des|
|00001430| 63 72 69 62 65 4d 61 63 | 72 6f 7b 5c 40 70 72 65 |cribeMac|ro{\@pre|
|00001440| 74 74 79 6c 61 62 65 6c | 7d 0a 25 20 49 66 20 7c |ttylabel|}.% If ||
|00001450| 5c 6c 61 62 65 6c 7c 20 | 69 73 20 63 61 6c 6c 65 |\label| |is calle|
|00001460| 64 20 77 69 74 68 20 74 | 68 65 20 6f 70 74 69 6f |d with t|he optio|
|00001470| 6e 61 6c 20 61 72 67 75 | 65 6d 65 6e 74 20 74 68 |nal argu|ement th|
|00001480| 65 6e 20 7c 5c 40 70 72 | 65 74 74 79 6c 61 62 65 |en |\@pr|ettylabe|
|00001490| 6c 7c 0a 25 20 77 72 69 | 74 65 73 20 74 68 65 20 |l|.% wri|tes the |
|000014a0| 6c 69 6e 65 20 74 6f 20 | 74 68 65 20 7c 2e 61 75 |line to |the |.au|
|000014b0| 78 7c 20 66 69 6c 65 2e | 0a 25 0a 25 20 20 20 20 |x| file.|.%.% |
|000014c0| 5c 62 65 67 69 6e 7b 6d | 61 63 72 6f 63 6f 64 65 |\begin{m|acrocode|
|000014d0| 7d 0a 5c 64 65 66 5c 40 | 70 72 65 74 74 79 6c 61 |}.\def\@|prettyla|
|000014e0| 62 65 6c 23 31 5b 23 32 | 5d 7b 0a 20 20 5c 40 62 |bel#1[#2|]{. \@b|
|000014f0| 73 70 68 61 63 6b 0a 20 | 20 5c 70 72 6f 74 65 63 |sphack. | \protec|
|00001500| 74 65 64 40 77 72 69 74 | 65 5c 40 61 75 78 6f 75 |ted@writ|e\@auxou|
|00001510| 74 7b 7d 25 0a 20 20 20 | 20 7b 5c 73 74 72 69 6e |t{}%. | {\strin|
|00001520| 67 5c 6e 65 77 6c 61 62 | 65 6c 7b 23 31 7d 25 0a |g\newlab|el{#1}%.|
|00001530| 20 20 20 20 20 7b 7b 5c | 40 63 75 72 72 65 6e 74 | {{\|@current|
|00001540| 6c 61 62 65 6c 7d 7b 5c | 74 68 65 70 61 67 65 7d |label}{\|thepage}|
|00001550| 25 0a 20 20 20 20 20 20 | 7b 5c 63 73 6e 61 6d 65 |%. |{\csname|
|00001560| 20 70 72 40 23 32 5c 65 | 6e 64 63 73 6e 61 6d 65 | pr@#2\e|ndcsname|
|00001570| 5c 40 63 75 72 72 65 6e | 74 6c 61 62 65 6c 5c 74 |\@curren|tlabel\t|
|00001580| 68 65 70 61 67 65 7d 7d | 7d 25 0a 20 20 5c 40 65 |hepage}}|}%. \@e|
|00001590| 73 70 68 61 63 6b 7d 0a | 25 20 20 20 20 5c 65 6e |sphack}.|% \en|
|000015a0| 64 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 25 0a 25 |d{macroc|ode}.%.%|
|000015b0| 20 5c 44 65 73 63 72 69 | 62 65 4d 61 63 72 6f 7b | \Descri|beMacro{|
|000015c0| 5c 40 6e 6f 70 72 65 74 | 74 79 6c 61 62 65 6c 7d |\@nopret|tylabel}|
|000015d0| 0a 25 20 49 66 20 7c 5c | 6c 61 62 65 6c 7c 20 69 |.% If |\|label| i|
|000015e0| 73 20 63 61 6c 6c 65 64 | 20 77 69 74 68 6f 75 74 |s called| without|
|000015f0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 61 6c 20 61 72 | the opt|ional ar|
|00001600| 67 75 65 6d 65 6e 74 20 | 74 68 65 6e 20 7c 5c 40 |guement |then |\@|
|00001610| 6e 6f 70 72 65 74 74 79 | 6c 61 62 65 6c 7c 0a 25 |nopretty|label|.%|
|00001620| 20 77 72 69 74 65 73 20 | 74 68 65 20 6c 69 6e 65 | writes |the line|
|00001630| 20 74 6f 20 74 68 65 20 | 7c 2e 61 75 78 7c 20 66 | to the ||.aux| f|
|00001640| 69 6c 65 2e 0a 25 0a 25 | 20 20 20 20 5c 62 65 67 |ile..%.%| \beg|
|00001650| 69 6e 7b 6d 61 63 72 6f | 63 6f 64 65 7d 0a 5c 64 |in{macro|code}.\d|
|00001660| 65 66 5c 40 6e 6f 70 72 | 65 74 74 79 6c 61 62 65 |ef\@nopr|ettylabe|
|00001670| 6c 23 31 7b 0a 20 20 5c | 40 62 73 70 68 61 63 6b |l#1{. \|@bsphack|
|00001680| 0a 20 20 5c 70 72 6f 74 | 65 63 74 65 64 40 77 72 |. \prot|ected@wr|
|00001690| 69 74 65 5c 40 61 75 78 | 6f 75 74 7b 7d 25 0a 20 |ite\@aux|out{}%. |
|000016a0| 20 20 20 7b 5c 73 74 72 | 69 6e 67 5c 6e 65 77 6c | {\str|ing\newl|
|000016b0| 61 62 65 6c 7b 23 31 7d | 25 0a 20 20 20 20 20 7b |abel{#1}|%. {|
|000016c0| 7b 5c 40 63 75 72 72 65 | 6e 74 6c 61 62 65 6c 7d |{\@curre|ntlabel}|
|000016d0| 7b 5c 74 68 65 70 61 67 | 65 7d 25 0a 20 20 20 20 |{\thepag|e}%. |
|000016e0| 20 20 7b 5c 70 72 40 65 | 71 5c 40 63 75 72 72 65 | {\pr@e|q\@curre|
|000016f0| 6e 74 6c 61 62 65 6c 5c | 74 68 65 70 61 67 65 7d |ntlabel\|thepage}|
|00001700| 7d 7d 25 0a 20 20 5c 40 | 65 73 70 68 61 63 6b 7d |}}%. \@|esphack}|
|00001710| 0a 25 20 20 20 20 5c 65 | 6e 64 7b 6d 61 63 72 6f |.% \e|nd{macro|
|00001720| 63 6f 64 65 7d 0a 25 0a | 25 20 5c 44 65 73 63 72 |code}.%.|% \Descr|
|00001730| 69 62 65 4d 61 63 72 6f | 7b 5c 6c 61 62 65 6c 7d |ibeMacro|{\label}|
|00001740| 0a 25 20 54 68 65 20 75 | 73 65 72 27 73 20 7c 5c |.% The u|ser's |\|
|00001750| 6c 61 62 65 6c 7c 20 63 | 6f 6d 6d 61 6e 64 20 73 |label| c|ommand s|
|00001760| 69 6d 70 6c 79 20 63 68 | 65 63 6b 73 20 66 6f 72 |imply ch|ecks for|
|00001770| 20 74 68 65 20 65 78 69 | 73 74 61 6e 63 65 20 6f | the exi|stance o|
|00001780| 66 20 74 68 65 0a 25 20 | 6f 70 74 69 6f 6e 61 6c |f the.% |optional|
|00001790| 20 61 72 67 75 65 6d 65 | 6e 74 20 61 6e 64 20 63 | argueme|nt and c|
|000017a0| 61 6c 6c 73 20 6f 6e 65 | 20 6f 66 20 7c 5c 40 70 |alls one| of |\@p|
|000017b0| 72 65 74 74 79 6c 61 62 | 65 6c 7c 20 6f 72 20 7c |rettylab|el| or ||
|000017c0| 5c 40 6e 6f 70 72 65 74 | 74 79 6c 61 62 65 6c 7c |\@nopret|tylabel||
|000017d0| 2e 0a 25 20 55 6e 66 6f | 72 74 75 6e 61 74 65 6c |..% Unfo|rtunatel|
|000017e0| 79 2c 20 7c 61 6d 73 6d | 61 74 68 7c 20 72 65 64 |y, |amsm|ath| red|
|000017f0| 65 66 69 6e 65 73 20 7c | 5c 6c 61 62 65 6c 7c 20 |efines ||\label| |
|00001800| 74 6f 6f 2e 20 20 49 6e | 20 6f 72 64 65 72 20 66 |too. In| order f|
|00001810| 6f 72 20 74 68 69 73 20 | 70 61 63 6b 61 67 65 0a |or this |package.|
|00001820| 25 20 74 6f 20 77 6f 72 | 6b 20 77 69 74 68 20 7c |% to wor|k with ||
|00001830| 61 6d 73 6d 61 74 68 7c | 2c 20 7c 5c 75 73 65 70 |amsmath||, |\usep|
|00001840| 61 63 6b 61 67 65 7b 70 | 72 65 74 74 79 72 65 66 |ackage{p|rettyref|
|00001850| 7d 7c 20 6d 75 73 74 20 | 62 65 20 69 6e 63 6c 75 |}| must |be inclu|
|00001860| 64 65 64 20 62 65 66 6f | 72 65 0a 25 20 7c 5c 75 |ded befo|re.% |\u|
|00001870| 73 65 70 61 63 6b 61 67 | 65 7b 61 6d 73 6d 61 74 |sepackag|e{amsmat|
|00001880| 68 7d 7c 0a 25 0a 25 20 | 20 20 20 5c 62 65 67 69 |h}|.%.% | \begi|
|00001890| 6e 7b 6d 61 63 72 6f 63 | 6f 64 65 7d 0a 5c 64 65 |n{macroc|ode}.\de|
|000018a0| 66 5c 6c 61 62 65 6c 23 | 31 7b 0a 09 5c 40 69 66 |f\label#|1{..\@if|
|000018b0| 6e 65 78 74 63 68 61 72 | 5b 7b 5c 40 70 72 65 74 |nextchar|[{\@pret|
|000018c0| 74 79 6c 61 62 65 6c 7b | 23 31 7d 7d 7b 5c 40 6e |tylabel{|#1}}{\@n|
|000018d0| 6f 70 72 65 74 74 79 6c | 61 62 65 6c 7b 23 31 7d |oprettyl|abel{#1}|
|000018e0| 7d 0a 7d 0a 25 20 20 20 | 20 5c 65 6e 64 7b 6d 61 |}.}.% | \end{ma|
|000018f0| 63 72 6f 63 6f 64 65 7d | 0a 25 0a 25 20 5c 65 6e |crocode}|.%.% \en|
|00001900| 64 69 6e 70 75 74 0a 25 | 0a 5c 65 6e 64 69 6e 70 |dinput.%|.\endinp|
|00001910| 75 74 0a 25 3c 2f 73 74 | 79 6c 65 3e 0a 25 0a |ut.%</st|yle>.%. |
+--------+-------------------------+-------------------------+--------+--------+